home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11641 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  634 b 

  1. Path: news.ov.com!news
  2. From: glenn@ov.com (Fletcher.Glenn@ov.com)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: getting Unix's current running process id
  5. Date: 25 Mar 1996 16:59:11 GMT
  6. Organization: OpenVision
  7. Message-ID: <4j6jcv$ijd@spanky.pls.ov.com>
  8. References: <UlJ5MNm00YUwM=wGwV@andrew.cmu.edu>
  9. Reply-To: glenn@ov.com
  10. NNTP-Posting-Host: foghorn.pls.ov.com
  11.  
  12. In article wGwV@andrew.cmu.edu, Elie Jean-Philippe <elie+@andrew.cmu.edu> writes:
  13. >Hi all,
  14. >Does anybody know what C function returns the current running process's Unix
  15. >process id ?
  16. >Any help would be appreciated.
  17. >
  18. >Elie. 
  19.  
  20. Have you tried getpid()?
  21.  
  22.             Fletcher.Glenn@ov.com
  23.  
  24.  
  25.  
  26.